package com.taxshare.purchaser.view.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author YANG
 * @date 2021/4/19
 */
@Data
@ApiModel("发票查验明细转换")
public class InvoiceDetailChangeVO {

    @ApiModelProperty("序号")
    @TableField("detail_no")
    private String detailNo;

    @ApiModelProperty("发票代码")
    @TableField("invoice_code")
    private String invoiceCode;

    @ApiModelProperty("发票号码")
    @TableField("invoice_no")
    private String invoiceNo;

    @ApiModelProperty("商品名称")
    @TableField("goods_name")
    private String goodsName;

    @ApiModelProperty("规格型号")
    @TableField("model")
    private String model;

    @ApiModelProperty("单位")
    @TableField("unit")
    private String unit;

    @ApiModelProperty("商品数量")
    @TableField("goods_number")
    private String goodsNumber;

    @ApiModelProperty("单价")
    @TableField("unit_price")
    private String unitPrice;

    @ApiModelProperty("税率")
    @TableField("tax_rate")
    private String taxRate;

    @ApiModelProperty("不含税单价")
    @TableField("unit_price_out_tax")
    private String unitPriceOutTax;

    @ApiModelProperty("不含税金额")
    @TableField("amount_with_out_tax")
    private String amountWithOutTax;

    @ApiModelProperty("税额")
    @TableField("tax_amount")
    private String taxAmount;

    @ApiModelProperty("含税金额")
    @TableField("amount_with_tax")
    private String amountWithTax;

    @ApiModelProperty("税收分类编码")
    @TableField("tax_code")
    private String taxCode;

    @ApiModelProperty("发票行性质")
    @TableField("invoice_row_nature")
    private String invoiceRowNature;

    @ApiModelProperty("零税率标识 空为正常税率 1 免税2 不征税 3普通零税率")
    @TableField("tax_rate_mark")
    private String taxRateMark;

    @ApiModelProperty("优惠政策标识（0无优惠政策 1有优惠政策）")
    @TableField("preferential_mark")
    private String preferentialMark;

    @ApiModelProperty("优惠政策名称")
    @TableField("preferential_name")
    private String preferentialName;

    @ApiModelProperty("是否红冲标志")
    @TableField("red_mark")
    private String redMark;
}
